<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<%@taglib prefix="accessory" uri="http://accessoryPackageTag.weitu.net" %>
<!doctype html>
<html lang="zh">
<head>
    <title>业务表单</title>
    <%@include file="/common/header.jspf"%>
</head>
<body>
<div class="menu-right" style="">
    <a class="button icon-save" id="btn_save">
        保存
    </a>
   <%-- <a class="button icon-refer" id="">
        返回
    </a>--%>
</div>
<form id="form1" method="post">
    <input name="id" value="${deviceLocation.id}" hidden/>
    <div class="information">
        <div class="information-title">
            <p>基本信息</p>
            <a class="panel-down" href="javascript:void(0)">                 <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>             </a>
        </div>
        <div class="cuttle" style="height: 120px;">
            <div style="clear: both">
                <div class="form_one" style="width:550px">
                    <label class="lable-style">装置/部位名称:</label>
                    <input class="easyui-textbox" id="name" name="name" value="${deviceLocation.name}" style="width: 415px" data-options="required:true"/>
                    <span>*</span>
                </div>
                <div class="form_one" style="width: 550px">
                    <label class="lable-style">装置/部位代码:</label>
                    <input class="easyui-textbox" id="code" name="code" value="${deviceLocation.code}" style="width: 415px" data-options="required:true"/>
                    <span>*</span>
                </div>
            </div>

            <div style="clear: both">
                <div class="form_one" style="width: 550px">
                    <input id="unitName" name="unitName" value="${deviceLocation.unitName}" hidden/>
                    <label class="lable-style">所属单位名称:</label>
                    <input id="unitId" class="easyui-textbox" name="unitId" value="${deviceLocation.unitId}" required="true" validType="validSelect" style="width: 415px">
                    <span>*</span>
                </div>
                <div class="form_one" style="width: 550px">
                    <label class="lable-style">所属单位编码:</label>
                    <input id="unitCode" name="unitCode" value="${deviceLocation.unitCode}" class="easyui-textbox" required="true" validType="validSelect" style="width: 415px" editable="false">
                    <span>*</span>
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one" style="width: 1100px;">
                    <label class="lable-style">是否启用:</label>
                    <select id="enable" class="easyui-combobox" required="true" name="enable" style="width: 965px">
                        <option value="1" <c:if test="${deviceLocation.enable==1}">selected</c:if>>是</option>
                        <option value="0" <c:if test="${deviceLocation.enable==0}">selected</c:if>>否</option>
                    </select>
                    <span>*</span>
                </div>
            </div>
            <div style="clear: both;height:57px;">
                <div class="form_one fotm-textarea" style="width: 1100px">
                    <label class="lable-style">装置详情:</label>
                    <input class="easyui-textbox" data-options="multiline:true" style="height: 50px;width: 965px;" name="deviceDetails" value="${deviceLocation.deviceDetails}"/>
                </div>
            </div>
        </div>
    </div>

</form>
<script src="${ctx}/resources/js/majorHazard/deviceLocation/edit.js" type="text/javascript"></script>
</body>
</html>
